java first day of week

51

java first day of week -

LocalDate now = LocalDate.now();

LocalDate firstDayOfWeek = now.with(TemporalAdjusters.previousOrSame(DayOfWeek.MONDAY));

Comments

Submit
0 Comments